#!/usr/bin/env bash
################################################################################
# FILE       : .screenrc
# DESCRIPTION: Configuration file for Screen, save as ~/.screenrc to use.
# AUTHOR     : SVAKSHA :: http://svaksha.com/pages/Bio
# SOURCE     : http://svaksha.github.io/yaksha
# COPYRIGHT© : 2005-Now SVAKSHA <http://svaksha.com/pages/Bio> AllRightsReserved
# LICENSE    : GNU AGPLv3 and subject to the terms and conditions in the LICENSE.md 
#              (https://github.com/svaksha/yaksha/blob/master/LICENSE.md) file being met.
# DATES      : Created:2005Dec21 - Updated:2015Dec30
################################################################################
#
# The caption line entries
#-------------------------------------------------------------------------------
# username@host | uptime | time - date | screens |
caption always "%{yK} $LOGNAME@%H | %l | %C %A - %M-%d-%Y | %-Lw%50>%{Ky}%n%f* %t%{-}%+Lw%<%{- Wk}%{yK} | "

#bind the space key to the command that displays a list of windows (so that the 
#command usually invoked by `C-a` would also be available as `C-a space`.
bind ' ' windowlist -b 

bind h resize -5
bind l resize +5
# Disable the startup message
startup_message off

# use window scroll buffer instead of internal screen buffer
termcapinfo xterm* ti@:te@

# Set a large scrollback buffer
defscrollback 32000

# Always start `screen` with UTF-8 enabled (`screen -U`)
defutf8 on

